

<table class="layui-table" lay-filter="edit-table" lay-data="{method: 'post',loading:'true',url:'{:url('Payment/signLog')}',where:{id:'{$id}',start_date:'{$start_date}',end_date:'{$end_date}'}, page:true}" lay-filter="edit-table">
    <thead>
    <tr>
        <th lay-data="{field:'store_name'}">所属门店</th>
        <th lay-data="{field:'drive_name'}">姓名</th>
        <th lay-data="{field:'address'}">签到位置信息</th>
        <th lay-data="{field:'signin_time'}">签到时间</th>
        <th lay-data="{toolbar:'#type'}">签到类型</th>
    </tr>
    </thead>
</table>
<script type="text/html" id="type">
    {{#  if(d.type == 1){ }}
    上班
    {{#  } else if(d.type == 2){ }}
    下班
    {{#  } }}
</script>




